package com.example.sunmiv1.entity.member;

import java.util.ArrayList;
import java.util.List;

public class MemberLabelManagerInfo {

    /**
     * status : 1
     * msg : 數據獲取成功
     * data : {"list":[{"id":"2","name":"土豪","created_at":"2020-05-15 11:02:16","vip_num":6},{"id":"1","name":"11111111","created_at":"2020-05-15 10:04:20","vip_num":7}],"total":2}
     */

    private int status;
    private String msg;
    private DataBean data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg == null ? "" : msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * list : [{"id":"2","name":"土豪","created_at":"2020-05-15 11:02:16","vip_num":6},{"id":"1","name":"11111111","created_at":"2020-05-15 10:04:20","vip_num":7}]
         * total : 2
         */

        private int total;
        private List<ListBean> list;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            if (list == null) {
                return new ArrayList<>();
            }
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 2
             * name : 土豪
             * created_at : 2020-05-15 11:02:16
             * vip_num : 6
             */

            private String id;
            private String name;
            private String created_at;
            private int vip_num;
            private boolean check;

            public ListBean(String id, String name, String created_at, int vip_num) {
                this.id = id;
                this.name = name;
                this.created_at = created_at;
                this.vip_num = vip_num;
            }

            public String getId() {
                return id == null ? "" : id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name == null ? "" : name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCreated_at() {
                return created_at == null ? "" : created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public int getVip_num() {
                return vip_num;
            }

            public void setVip_num(int vip_num) {
                this.vip_num = vip_num;
            }

            public boolean isCheck() {
                return check;
            }

            public void setCheck(boolean check) {
                this.check = check;
            }
        }
    }
}
